'Declaration<NotNullAttribute()> Public Overloads Shared Function PerformOperation(Of T)( _ ByVal operationFunction As Func(Of T) _ ) As ValueResult(Of T)
'UsageDim operationFunction As Func(Of T) Dim value As ValueResult(Of T) value = ValueResult.PerformOperation(Of T)(operationFunction)
[NotNull()] public static ValueResult<T> PerformOperation<T>( Func<T> operationFunction )
[NotNull()] public: static ValueResult<T^>^ PerformOperationgeneric<typename T> ( Func<T^>^ operationFunction )
Parameters
- operationFunction
 - The operation to perform.
The value of this parameter cannot be
null(Nothingin Visual Basic). 
Type Parameters
- T
 - The type of the value.
 
Return Value
This method never returns null (Nothing in Visual Basic).